$def with (options, posts, tags, session)
<html>
<head>
    <title>$options['blogname']</title>
    <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" />
    <style type="text/css" media="screen">
	#page { background: url("/static/kubrickbgwide.jpg") repeat-y top; border: none; }
    </style>
    <style type="text/css">
	.recentcomments a{display:inline !important;padding: 0 !important;margin: 0 !important;}
    </style>
</head>
<body>
    <div id="page">
        <div id="header">
            <div id="headerimg">
                <h1><a href="$options['siteurl']">$options['blogname']</a></h1>
		<div class="description">
		    $options['blogdescription']
		    <a href="/login">Login</a>
		    <a href="/admin/post">Post</a>
		    <a href="/logout">Logout</a>
		</div>
            </div>
        </div><!--end header div-->
        <hr />
        <div id="content" class="widecolumn">
        $for post in posts:
            <div class="post" id="$post.id">
                <h2><a href="/post/$post.id">$post.post_title</a></h2>
		<small>$post.post_date</small>
                <div class="entry">
                    <p>$:post.post_content</p>
		    <p class="postmetadata">
			Tags:
			$for tag in tags[post.id]:
			    <a rel="tag" href="/tag/$tag" rel="tag">$tag</a>,
			<br/>
			Posted in
			<a rel="category" title="View all posts in Uncategorized" href="#">Uncategorized</a> |
			$if session.user_login:
			    <a title="Edit post" href="/admin/post/edit/$post.id">Edit</a> |
			<a title="Comment on $post.post_title" href="/post/$post.id#comments">
			$if post.commentCount:			
			    $post.commentCount Comments
			$else:
			    No Comments
			</a>
		    </p>
                </div>
            </div>
            <hr/><!--end for circle-->
        </div><!--end content div-->
        <!--hr /-->
        <div id="footer">
            <p>little we is powered by
                <a href="#">web.py</a>
                <br /><a href="#">Entries (RSS)</a>
                and <a href="#">Comments (RSS)</a>.
            </p>
        </div><!--end footer div-->
    </div><!--end page div-->
    <link href='/static/dpSyntaxHighlighter/SyntaxHighlighter.css' rel='stylesheet' type='text/css'>
    </link>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shCore.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushJava.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushXml.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushSql.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushPython.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushJScript.js'>
    </script>
    <script language='javascript'>
	dp.SyntaxHighlighter.ClipboardSwf = '/static/dpSyntaxHighlighter/clipboard.swf';
	dp.SyntaxHighlighter.BloggerMode();
	dp.SyntaxHighlighter.HighlightAll('code');
    </script>
</body>
</html>